package org.tb.baitao.web.tc.module.action;

import org.tb.baitao.app1.SimpleObject;

import com.alibaba.citrus.turbine.Navigator;
import com.alibaba.citrus.turbine.dataresolver.FormGroup;

public class SimpleAction {
	public void doGreeting(@FormGroup("simple") SimpleObject simple, Navigator nav) {
		String name = simple.getName();
		nav.redirectTo("tcLink").withTarget("hello").withParameter("name", name);
	}
}
